<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>管理员列表</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  
  <body>
    <!-- 包含头部页面 -->
    <jsp:include page="/head.jsp"></jsp:include>
    
    <h3 align="center">管理员信息</h3>
    <table border="1" align="center" width="80%" cellpadding="5" cellspacing="0">
    	<tr>
    		<th>序号</th>
    		<th>账号</th>
    		<th>密码</th>
    	</tr>
    	
    	<s:if test="#request.listadmin != null">
    		<s:iterator var="admin" value="#request.listadmin" status="st">
    			<tr align="center">
    				<td><s:property value="#st.count"/></td>
    				<td><s:property value="#admin.adminName"/></td>
    				<td><s:property value="#admin.pwd"/></td>
    			</tr>
    		</s:iterator>
    	</s:if>
    	<s:else>
    		<td colspan="3">对不起，没有你要找的数据···</td>
    	</s:else>
    </table>
    
  </body>
</html>